/*
 * $Id: ActRunDetails.java,v 1.5 2009/12/16 18:31:22 navdeep_mahajan Exp $
 *
 * Copyright (C) 2006 General Electric Company. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of the General
 * Electric Company (GE). You shall not disclose this software and shall use it
 * only in accordance with the terms of the license agreement you entered into
 * with GE.
 *
 * GE MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
 * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
 * NON-INFRINGEMENT. GE SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE
 * AS A RESULT OF USING, MODIFYING, OR DISTRIBUTING THIS SOFTWARE OR ITS
 * DERIVATIVES.
 */

package com.ge.healthcare.autosc.common.database.pojo;

import java.util.Date;

import com.ge.healthcare.autosc.common.util.TimeFormatStandard;

/**
 * ActRunDetails entity. @author MyEclipse Persistence Tools
 */
public class ActRunDetails extends AbstractRunDetails implements
		java.io.Serializable {

	// Constructors

	/**
	 * Eclipse generated
	 */
	private static final long serialVersionUID = 3681953334605150559L;

	/** default constructor */
	public ActRunDetails() {
	}

	/** full constructor */
	public ActRunDetails(String processName, Date lastRunTime) {
		super(processName, lastRunTime);
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		StringBuffer msg = new StringBuffer();
		msg.append("{Process Name=").append(this.getProcessName()).append("},");
		msg.append("{Last Run time=").append(
				TimeFormatStandard.getDtInEndUserDisplayFormat(this
						.getLastRunTime())).append("}");
		return msg.toString();
	}
}
